package com.mccrea.pattern.visitor;

/**
 * @Classname Client
 * @Description 访问者模式测试客户端
 * @Date 2021/5/20 0020 14:27
 * @Created by Mccrea_Gao
 */
public class Client {
    public static void main(String[] args) {
        BusinessReport businessReport = new BusinessReport();
        System.out.println("======CEO查看报表=====");
        businessReport.showReport(new CEOVisitor());
        System.out.println("======CTO查看报表=====");
        businessReport.showReport(new CTOVisitor());
    }
}
